<?php
namespace Model;

use Model\Factory\TableGatewayFactory;


class Album extends AbstractModel
{
    public $id;
    public $artist;
    public $title;
    public $created_date;
    public $created_by;




    public function getCreatedUser(){

        $userTable = TableGatewayFactory::getUserTable();
        return $userTable->getUser($this->created_by);
    }


}
